[IT] Segments Feature

Tuesday, 26 January 2021 13:31:13
Total Iterations

1

Total Assertions

21

Total Failed Tests

22

Total Skipped Tests

0


File Information
Collection: [IT] Segments Feature
Environment: Nightlies
Collection Description
``` Feature: segments Scenario: Admin should see other users segments Scenario: Male user should be in particular segments Scenario: Female user should be in particular segments Scenario: User should be in age_lt_eq_25 segment Scenario: Premium female user should be in crush_time_subscriber_female segment ```
Timings and Data
Total run duration: 25.6s
Total data received: 76.87KB
Average response time: 361ms
Summary Item Total Failed
Requests 63 0
Prerequest Scripts 140 0
Test Scripts 147 1
Assertions 21 21
Skipped Tests 0 -



Showing 22 Failures

Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test: Users should return 200 when admin user tries to get a user segment

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: All segments returned must have an id and a configuration

Assertion Error Message
Cannot convert undefined or null to object
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test: Male user should match segment crush_time_male in crush_time feature

Assertion Error Message
Cannot read property 'crush_time' of undefined
Failed Test: Male user should match segment default in availability_types feature

Assertion Error Message
Cannot read property 'availability_types' of undefined
Failed Test: Male user should match segment two_days_registered in gspot_configuration feature

Assertion Error Message
Cannot read property 'gspot_configuration' of undefined
Failed Test: Male user should match segment limited_likes_male in limited_likes feature

Assertion Error Message
Cannot read property 'limited_likes' of undefined
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test: Male user should match segment crush_time_female in crush_time feature

Assertion Error Message
Cannot read property 'crush_time' of undefined
Failed Test: Male user should match segment default in availability_types feature

Assertion Error Message
Cannot read property 'availability_types' of undefined
Failed Test: Male user should match segment two_days_registered in gspot_configuration feature

Assertion Error Message
Cannot read property 'gspot_configuration' of undefined
Failed Test: Male user should match segment limited_likes_female in limited_likes feature

Assertion Error Message
Cannot read property 'limited_likes' of undefined
Failed Test: Male user should match segment crush_time_events_female_enabled in crush_time_events feature

Assertion Error Message
Cannot read property 'crush_time_events' of undefined
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test:

Assertion Error Message
Cannot read property 'age_feature' of undefined
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Body matches string

Assertion Error Message
Cannot read property 'id' of undefined
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test: Internal subscription should be active

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: Female user should match segment crush_time_subscriber_female in crush_time feature

Assertion Error Message
Cannot read property 'crush_time' of undefined
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 404


There are no skipped tests



1 Iteration available to view
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 329ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 47c60971-bb9a-4ac5-ae5a-9652f7debabe
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:48 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 303ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token e99d0814-1a4b-416d-99fc-8d23a587f6c3
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 320
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667848699A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:48 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 388ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 7c1077fb-7aad-416d-94e1-9aef3dc39526
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667848699A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:49 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 403ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token cfb3b169-a4d9-4d61-bed2-3c3eac44a38e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:49 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 576ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 83867da1-5532-4c33-8974-493a9f02484d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:50 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 188ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token 0e27acfd-2d3e-47cf-86a3-ddd1bc416424
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 84
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fmen%2F51.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:30:50 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 417ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token c5274f1a-2e88-411a-a971-7e70805df881
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:51 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 321ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 27e172d6-69fe-4c80-8f23-ad26dd17c8b9
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:51 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1922
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 338ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 2cdf7d8a-6fdc-492a-bae3-fa8cc7de6188
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:51 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/segments
Response Information
Response Code: 403 - Forbidden
Mean time per request: 317ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token db4a2f15-682a-4a1b-89d8-791ddebc4b99
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:30:52 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Users should return 200 when admin user tries to get a user segment 0 1 0
All segments returned must have an id and a configuration 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Users should return 200 when admin user tries to get a user segment
expected response to have status code 200 but got 403
All segments returned must have an id and a configuration
Cannot convert undefined or null to object
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 433ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token f83c1395-5915-4604-a08f-e5a1c1977a3c
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:52 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 94ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 9ae3119e-5933-4297-b573-102da4e6408a
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:30:52 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 297ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token c1f2d341-a3e0-45a0-b818-8f2c55032217
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:53 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 476ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token d653e847-50bc-4890-b788-54b532ffd2f5
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 318
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667853396A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "male",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:53 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 803ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 0b1fab1e-6f42-40d2-b0d0-b87fbfcb348a
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667853396A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:54 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 569ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token b5903549-39b7-4bff-aeab-0472c066502f
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:55 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 501ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 96367672-145b-47e4-ad94-f50034b96467
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:55 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 149ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token 6b987a87-c5ce-4baa-a260-ac87b8fba71c
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 85
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F0.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:30:56 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 396ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 17e4c0cd-000d-41c9-a9af-7cb07a0928c4
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:56 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 226ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 17035feb-0c14-4dd4-839c-f848a3057428
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:56 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1922
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 342ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 274b712e-e50c-4c87-9e81-cb4e94b62124
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:57 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/segments
Response Information
Response Code: 403 - Forbidden
Mean time per request: 329ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 466eb736-495a-49bb-8b97-074cc2679550
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:30:57 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Male user should match segment crush_time_male in crush_time feature 0 1 0
Male user should match segment default in availability_types feature 0 1 0
Male user should match segment two_days_registered in gspot_configuration feature 0 1 0
Male user should match segment limited_likes_male in limited_likes feature 0 1 0
Total 0 4 0
Test Failures
Test NameAssertion Error
Male user should match segment crush_time_male in crush_time feature
Cannot read property 'crush_time' of undefined
Male user should match segment default in availability_types feature
Cannot read property 'availability_types' of undefined
Male user should match segment two_days_registered in gspot_configuration feature
Cannot read property 'gspot_configuration' of undefined
Male user should match segment limited_likes_male in limited_likes feature
Cannot read property 'limited_likes' of undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 456ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 65983b9c-a93b-4d71-ae15-083e84036780
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:58 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 334ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token b839a894-0616-4487-b872-5d5a64d3a86d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:30:58 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 276ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token adbf33f2-43d1-4055-b134-22d65547b1ce
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:58 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 792ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 1db350e1-cfc7-4530-b483-06d37295ed79
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 320
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667858835A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:30:59 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 494ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 0b61eba4-518a-4116-ab33-876004687a6f
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667858835A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:00 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 284ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 9e95bde3-3f80-46ce-8fe9-49bb9bcfcff5
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:00 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 405ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token cc7270db-f81d-4c30-ae81-3457b3462c26
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:00 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 312ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token 51ef90e0-d331-49e4-ba22-91cc729c6603
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 84
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fmen%2F54.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:01 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 576ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 1b4cba45-f72d-4dc2-b25e-10d27e149b20
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:01 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 329ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 22c31710-bca5-4b29-b6c4-c1b1e50b4500
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:02 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1922
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 379ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 2b2c6c5d-f751-45f8-8b58-5f98966641d4
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:02 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/segments
Response Information
Response Code: 403 - Forbidden
Mean time per request: 382ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token e255813c-7635-4244-b89d-895d1bb4f9ba
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:02 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Male user should match segment crush_time_female in crush_time feature 0 1 0
Male user should match segment default in availability_types feature 0 1 0
Male user should match segment two_days_registered in gspot_configuration feature 0 1 0
Male user should match segment limited_likes_female in limited_likes feature 0 1 0
Male user should match segment crush_time_events_female_enabled in crush_time_events feature 0 1 0
Total 0 5 0
Test Failures
Test NameAssertion Error
Male user should match segment crush_time_female in crush_time feature
Cannot read property 'crush_time' of undefined
Male user should match segment default in availability_types feature
Cannot read property 'availability_types' of undefined
Male user should match segment two_days_registered in gspot_configuration feature
Cannot read property 'gspot_configuration' of undefined
Male user should match segment limited_likes_female in limited_likes feature
Cannot read property 'limited_likes' of undefined
Male user should match segment crush_time_events_female_enabled in crush_time_events feature
Cannot read property 'crush_time_events' of undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 434ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 2c3fcb00-7149-4f8b-abd4-d5071c1a0e5a
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:03 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 312ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 1bd384e8-9158-41b2-b646-8a0e12324401
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:03 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 327ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token b3b547ea-ec74-409a-86e6-a6f824e0a0ab
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:04 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 288ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 8ffcb936-5bea-4acf-b81d-0dd3be64ca94
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 318
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667864397A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1997-01-26",
            "gender": "male",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:04 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 501ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 6348c6a2-0e70-4be9-8b2c-1138d0799d90
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667864397A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:05 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 179ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token a31e0f2d-d74d-4caa-82c9-cff7978158fc
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:05 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 334ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 80db9f17-ca7e-4f1f-82df-571608dd77e6
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:05 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 187ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token b194fb42-70ed-4906-bc10-83a11c5c7ba0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 86
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F61.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:05 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 212ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 9e5b7f8b-17fc-4ee8-a5ed-c7cb6c79070f
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:06 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 281ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 8bf85468-8923-4249-a7f2-41ac1f70ad8d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:06 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1922
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 346ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 478be161-a3d2-4e70-8dfd-b73ac926a35d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:06 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/segments
Response Information
Response Code: 403 - Forbidden
Mean time per request: 367ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 04d23ec7-a98b-44d1-9cb5-ec2cec7422bf
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:07 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 162ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 44fc61ec-330e-406e-b74c-8b559e9acec1
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:07 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 235ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 1e253878-ce14-49c3-b13a-9eb72b8a8813
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:07 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 413ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 87bbd010-e41f-4b89-8a2a-73778a982c25
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:08 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/v2/shop-products/
Response Information
Response Code: 403 - Forbidden
Mean time per request: 275ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
Content-Type application/json
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 2d7b15a7-765a-48cb-8419-f0b83f79d273
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 656
Request Body
{
            "channel": "ITUNES",
            "activated": true,
            "default_product": false,
            "introductory": false,
            "product_type": "PLAN",
            "position": 1,
            "plan_information": {
                "credits": [
                    {
                        "type": "video",
                        "renewable_per_period": 5,
                        "cooldown_period": 30
                    }
                ],
                "recurrence_subscription_period": {
                    "unit": "MONTH",
                    "value": 1
                }
            },
            "name": "Internal Subscription for Automated test",
            "description": "Internal Subscription with short refresh for automated tests",
            "store_product_id": "Internal Subscription "
        }
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:08 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Body matches string 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
Body matches string
Cannot read property 'id' of undefined
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 457ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token e6c66ab8-c8de-439a-81e7-8f71b2e9f242
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 320
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667868676A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:09 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 467ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 625ccbb4-1d25-41b7-8ac4-4596d68f67b0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667868676A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:09 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 392ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 616fc441-1742-4a85-9800-1bb9d17d99db
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:09 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 151ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token a0d8d413-6e1e-4028-9131-c4b5c19c2f1e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:10 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 271ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token 947e5069-e960-40c7-8d57-0335b44cf933
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 86
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F92.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:10 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 557ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 7b6f85c7-2be8-4765-92fb-bc61be2dfe93
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:10 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 258ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 9c56c86b-5d3b-4adc-9bb2-8c25d306ce6d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:11 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1922
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 364ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 455460cd-e7ed-4891-a695-6cfc72925525
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:11 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/null/subscriptions/internal
Response Information
Response Code: 403 - Forbidden
Mean time per request: 388ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token f9cfbd40-2f8d-42d2-95dc-c90f95a56b04
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 167
Request Body
{
            "user_id": "null",
            "creation_date": "2021-01-25T13:31:11.971Z",
            "expiration_date": "2022-01-26T13:31:11.971Z",
            "product_id": "{{premiumProductId}}"
        }
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:12 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Internal subscription should be active 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Internal subscription should be active
expected response to have status code 200 but got 403
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/null/segments
Response Information
Response Code: 403 - Forbidden
Mean time per request: 291ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 2614e606-36a7-4ae4-917c-8b47081695fa
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:12 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
Female user should match segment crush_time_subscriber_female in crush_time feature 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Female user should match segment crush_time_subscriber_female in crush_time feature
Cannot read property 'crush_time' of undefined
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 453ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 993577ef-04a6-48da-a16a-82ef7a743b41
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 185
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:31:12 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/v2/shop-products/%7B%7BpremiumProductId%7D%7D
Response Information
Response Code: 404 - Not Found
Mean time per request: 400ms
Mean size per request: 0B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token e28136d4-bb8c-4786-855f-9eeb40050db3
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Length 0
Date Tue, 26 Jan 2021 13:31:13 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
No Response Body for this request
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 404
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 268ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token ef1464d0-ee5f-40a2-a03d-5291b4e6e59e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:31:13 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request